package com.hornet.manager.system.mapper;

import org.apache.ibatis.annotations.Param;

import com.hornet.commons.mybatis.BaseMapper;
import com.hornet.manager.system.model.User;

public interface UserMapper extends BaseMapper<User> {
	
	public User findByAccount(@Param("account") String account) ;
	
	public User findByEmail(@Param("email") String email) ;
	
	/**
	 * 密码找回，根据数据签名进行查询
	 * @param signature
	 * @return
	 */
	public User findBySignature(@Param("signature") String signature) ;
	
}